//package com.neusoft.dibuy.interceptor;
//
//import com.neusoft.dibuy.service.IIpCounterService;
//import jakarta.servlet.http.HttpServletRequest;
//import jakarta.servlet.http.HttpServletResponse;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.servlet.HandlerInterceptor;
//
//public class IpCounterInterceptor  implements HandlerInterceptor {
//
//
//    @Autowired
//    IIpCounterService ipCounterService;
//    public boolean preHandle( HttpServletRequest request,  HttpServletResponse response, Object handler) throws Exception {
//        System.out.println("IpCounterInterceptor.preHandle");
//        ipCounterService.record();
//        return true;
//    }
//}
